
package com.yida.gwj.api.domain;


import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;


import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 业务步骤对象 common_step
 *
 * @author ruoyi
 * @date 2022-12-12
 */

public class GwjConfStep extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 步骤ID
	 */
	@NotNull(groups = Update.class, message = "请选择步骤")
	private Long stepId;

	/**
	 * 名称
	 */
	@Excel(name = "名称")
	@NotBlank(groups = {Save.class, Update.class}, message = "步骤名称不能为空")
	private String name;

	/**
	 * 逻辑删除 0：存在,2：删除
	 */
	private String delFlag;

	/**
	 * 步骤状态（0正常 1停用）
	 */
	@Excel(name = "步骤状态", readConverterExp = "0=正常,1=停用")
	@NotBlank(groups = {Save.class, Update.class}, message = "步骤状态不能为空")
	private String status;

	/**
	 * 排序
	 */
	private Integer sort;

	/**
	 * 要绑定的配置信息
	 */
	private Long[] configs;

	public Long getStepId() {
		return stepId;
	}

	public void setStepId(Long stepId) {
		this.stepId = stepId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Long[] getConfigs() {
		return configs;
	}

	public void setConfigs(Long[] configs) {
		this.configs = configs;
	}
}
